package com.donica.wamstest.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.donica.wamstest.entity.CommonFindVO;
import com.donica.wamstest.entity.FileDTO;
import com.donica.wamstest.entity.PackageDTO;
import com.donica.wamstest.entity.ProgramfileVO;
import com.donica.wamstest.entity.RoleVO;

@Mapper
public interface FileMapper {
	List<RoleVO> getRoles();
	// 
	long InsertProgramfiles(List<ProgramfileVO> volist);
	long InsertPackage(List<PackageDTO> volist);
	
	long deleteProgramPackageAll();
	long deleteProgramPackageExclude(List<PackageDTO> volist);
	
	long InsertFiles(List<FileDTO> volist);
	long searchProgramPackageCount(CommonFindVO vo);
	List<PackageDTO> searchProgramPackage(CommonFindVO vo);
	
	long InsertSoftware(List<PackageDTO> volist);
	long searchSoftwarePackageCount(CommonFindVO vo);
	List<PackageDTO> searchSoftwarePackage(CommonFindVO vo);
}
